package org.jeecg.modules.car.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.common.api.vo.Result;
import org.jeecg.entity.car.CarDerateDetails;
import org.jeecg.entity.car.CarMerchantDerate;
import org.jeecg.model.car.reqvo.CarDayReportReqVo;
import org.jeecg.model.car.respvo.CarDayReportRespVo;

import java.util.List;

/**
 * @Description: 优惠卷明细
 * @Author: jeecg-boot
 * @Date:   2020-11-08
 * @Version: V1.0
 */
public interface ICarDerateDetailsService extends IService<CarDerateDetails> {

    Result<String> addDetails(CarMerchantDerate carMerchantDerate, String plate);

    CarDerateDetails getDerateDetail(String plateNumber);

    List<CarDerateDetails> findDetailPage(Page<CarDerateDetails> page, CarDerateDetails carDerateDetails);

    List<CarDayReportRespVo> findGroupList(CarDayReportReqVo carDayReportReqVo);
}
